package cn.itcast.usermanage.service;

import cn.itcast.usermanage.pojo.EasyUIResult;
import cn.itcast.usermanage.pojo.User;

public interface UserService {

	/**分页获取用户信息
	 * @param pageNum
	 * @param pageSize
	 * @return
	 */
	EasyUIResult queryEasyUIResult(Integer pageNum, Integer pageSize);
	/**
	 * 测试事务
	 * @param user1
	 * @param user2
	 */
	public void addUsers(User user1, User user2) throws Exception;
	/**
	 * 新增用户信息
	 * @param user
	 * @return
	 * @throws Exception
	 */
	Boolean addUser(User user)throws Exception;
	Boolean deleteUser(String[] ids);
	
}
